window.onload = function() {
	var oDiv = document.getElementById('div1y');

	document.onmousemove = function(ev) {
		ev = ev || event;

		var scrollLeft = document.documentElement.scrollLeft || 
			document.body.scrollLeft;
		var scrollTop = document.documentElement.scrollTop || 
			document.body.scrollTop;

		oDiv.style.left = ev.clientX + scrollLeft + 'px';
		oDiv.style.top = ev.clientY + scrollTop + 'px';
	}
};
